package com.lzp.wechat.entity.qrCode;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "二维码响应实体")
public class QrCodeResponse {

    @ApiModelProperty(value = "获取的二维码ticket", notes = "凭借此ticket可以在有效时间内换取二维码")
    private String ticket;

    @ApiModelProperty(value = "二维码有效时间", notes = "以秒为单位。 最大不超过2592000（即30天）")
    private Integer expire_seconds;

    @ApiModelProperty(value = "二维码图片解析后的地址", notes = "开发者可根据该地址自行生成需要的二维码图片")
    private String url;

}
